def countchar(str):
    alpha = [chr(x) for x in range(ord('a'), ord('z') + 1)]
    str = str.lower()
    list = []
    for i in alpha:
        num = str.count(i)
        list.append(num)
    return list


if __name__ == "__main__":
    str = input()
    print(countchar(str))
